<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<form>
    <input type="hidden" name="loresetId" th:value="${loresetPoint['loresetId']}"/>
    <input type="hidden" name="id" th:value="${loresetPoint['id']}"/>
    <input type="hidden" name="parentId" th:value="${loresetPoint['parentId']}"/>
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>目录信息</h5>
            </div>
            <div class="ibox-content">
                <div class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label text-right"><i class="c-red">*</i> 知识点名称</label>
                        <div class="col-sm-6">
                            <input class="form-control validate-data" type="text" name="pointName" th:value="${loresetPoint['pointName']}"/>
                            <span class="help-block m-b-none c-999">限30个字以内</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label text-right">对应教材名称与页码</label>
                        <div class="col-sm-6">
                            <input class="form-control validate-data" type="text" name="teachingNamePage" th:value="${loresetPoint['teachingNamePage']}"/>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">知识点说明</label>
                        <div class="col-sm-6">
                            <div class="input-group" style="width: 100%">
                                <textarea class="form-control" rows="5" style="resize: none; overflow: auto" name="depict" th:text="${loresetPoint['depict']}"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">考试频次</label>
                        <div class="col-sm-6">
                            <div class="input-group" style="width: 100%">
                                <select data-placeholder="选择考试频次..."  name="frequency" class="chosen-select-no-search" style="width: 100%;" tabindex="1">
                                    <option value="0">请选择考试频次</option>
                                    <option th:selected="${loresetPoint['frequency']}==1" value="1">每年必考</option>
                                    <option th:selected="${loresetPoint['frequency']}==2" value="2">普通</option>
                                    <option th:selected="${loresetPoint['frequency']}==3" value="3">低</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <!--占分值字段目前没有用到暂时注释,勿删-->
                    <!--<div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label text-right"><i class="c-red">*</i> 占分值</label>
                        <div class="col-sm-6">
                            <input class="form-control" type="text" id="fraction" name="fraction" th:value="${loresetPoint['fraction']}"/>
                        </div>
                    </div>-->
                </div>
            </div>
        </div>
    </div>
</form>
<script>
    $(function(){
        //初始化下拉框的搜索输入,如果不重新初始化下拉框样式不加载
        initSelectSearch();
    });
</script>
</html>